package com.wsj.message_server.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value = "物料点赞通知实体", description = "物料点赞通知实体")
@Data
public class MaterialNotify {

    @ApiModelProperty(notes = "序号")
    private int id;

    @ApiModelProperty(notes = "物料id")
    private int materialId;

    @ApiModelProperty(notes = "用户id")
    private int userId;

    @ApiModelProperty(notes = "用户名")
    private String userName;

    @ApiModelProperty(notes = "用户头像")
    private String userAvatarUrl;

    @ApiModelProperty(notes = "物料封面图")
    private String coverImageUrl;

    @ApiModelProperty(notes = "时间")
    private String time;

    @ApiModelProperty(notes = "'类型：1.视频 2.图文 3.商品")
    private int typeId;

    @ApiModelProperty(notes = "物料发布者id")
    private int poster;
}
